package com.user.dao.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author : Yu
 * @Date 2024/5/19 下午4:12
 */
@Data
public class OrderDao {
    private Integer couponId;
    private BigDecimal userDist;
    private Integer id;

    private Integer userId;

    private String orderDetail;


    private Integer status;

    private BigDecimal orderMoney;

    private Date createTime;

    private Date updateTime;

    private String userRemarks;

    private String paymentManner;

    private Date paymentTime;
    private Integer seatId;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date datePeriod;
    private Integer restaurantId;
    private Integer timePeriod;
    private String tradeNo;
}
